home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / util / edit / aux_emacs.readme < prev    next >
Encoding:
Text File  |  1992-05-27  |  2.9 KB  |  63 lines

  1. Short: Memacs modified to also work off Aux:
  2.  
  3. 27-May-92 -- Lance Tagliapietra -- Aux-Emacs 1.0
  4.  
  5. This  version  of  Microemacs  was  originally  ported  by David Conroy and
  6. released  on  Fred  Fish disk #2.  I have modified it to be compilable with
  7. the ZC compiler from Fred Fish disk #314.  It is also modified to work with
  8. the  AuxHandler  from  Fred Fish disk #79.  When a terminal is connected to
  9. the serial port, the command
  10.     NEWCLI AUX:
  11. or
  12.     NEWSHELL AUX:
  13. will  start  a  cli  session  to the terminal.  Running microemacs with the
  14. command
  15.     EMACS
  16. from  the  terminal  will  start emacs using the Aux:  device for input and
  17. output.  From a CLI window or SHELL window, run microemacs with the command
  18.     RUN EMACS
  19. Microemacs  will then open a window and use the keyboard and video display.
  20. It  is  very important that microemacs be started with the RUN command when
  21. working  in  the  windowed  enviroment.   Failure  to  do  so will create a
  22. microemacs  process  that  cannot  be aborted as control characters will be
  23. eaten by the console.
  24.  
  25. See the files ME.DOC and WALLCHART for a listing of microemacs commands.
  26.  
  27. The  modifications  use  the Fish released aux-handler for the serial port.
  28. The  serial parameters are taken from preferences when the serial.device is
  29. opened  with  the  newshell  or  newcli  command.  When emacs is run to the
  30. serial  port,  the  aux-handler is put into "raw" mode.  The aux-handler is
  31. restored to console mode when emacs is exiting.
  32.  
  33. All  commands  in me.doc work as expected.  Spawning a new cli when running
  34. through  Aux:   puts  that driver back into console mode and the CLI prompt
  35. appears at the bottom of the screen.  Entering the command ENDCLI from this
  36. CLI will resume the editing session where it was left off.
  37.  
  38. NOTE:   The  run  command  in  a  subjob  (CTRL-X !) has been disabled when
  39. working  from  the  Aux:  cli.  This should not be a problem as the spawn a
  40. new cli command (CTRL-C) works correctly.
  41.  
  42. The  modification  to  the  source  for  compiling with the ZC compiler was
  43. mostly trivial.  The #if statments for the different systems supported were
  44. changed  to  #ifdef  statements.   Several small syntactic corrections were
  45. made,  most  notably  where the TERM structure is initialized in ANSI.c and
  46. VT52.c.
  47.  
  48. The  modifications  to  work  with the Aux:  port were made in termio.c and
  49. spawn.c.   The  changes  first  determine if emacs was started with the RUN
  50. command  or  not  and  then  open  a  window  or  initialize the Aux:  port
  51. accordingly.
  52.  
  53. The  executable  supplied  is  compiled  for ANSI mode.  To use VT52 screen
  54. codes,  set  the  VT52  #define to 1 in ED.H and set the ANSI #define to 0.
  55. The executable created is 2k smaller than the version originally suppled.
  56.  
  57. Enjoy.
  58.  
  59. --------------------------------------------------------------------------
  60. Lance Tagliapietra                                96720919@ucs.uwplatt.edu
  61. P.O. Box 26                                       96720919@uwplatt.bitnet
  62. Platteville, WI 53818
  63.